package org.springblade.modules.notice.vo;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @Author ysq
 * @Date 2025/08/07
 * @Description 修改业务消息状态参数
 */
@Data
public class BizMsgConfigChangStatusParam {

	@NotNull(message = "id不能为空")
	private Long id;

	@NotNull(message = "状态值不能为空")
	@Min(value = 0, message = "状态值不能小于0")
	@Max(value = 1, message = "状态值不能大于1")
	private Integer status;
}
